package com.youhome.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.File;

/**
 * Created by chen365 on 2017/10/20.
 */
public interface UploadService {

    String upload(String base64Data) throws Exception;

    String uploadMailPhoto(File file);

    void uploadExcel(String path) throws Exception;

    String upload(File file);

    String upload(MultipartFile file);

    String upload(MultipartFile file, Integer type);

    String upload(String data, String ext) throws Exception ;
}
